package com.pv.bfc.model;

import java.sql.Blob;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.transaction.annotation.Transactional;

@Entity
@Transactional
@Table(name = "BFCUSER_PROFILE")
public class UserProfile {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	private String userName;

	@Column(name = "WEBSITE")
	private String website;

	@Column(name = "IM")
	private String im;

	@Column(name = "COMPANY_NAME")
	private String companyName;

	@Column(name = "POSITION")
	private String position;

	@Column(name = "LOCATION")
	private String location;

	@Column(name = "IMAGE")
	private Blob image;

	public UserProfile() {

	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getIm() {
		return im;
	}

	public void setIm(String im) {
		this.im = im;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Blob getImage() {
		return image;
	}

	public void setImage(Blob image) {
		this.image = image;
	}

}
